package org.oos.auth;

import java.util.List;

import org.oos.dao.options.OptionsMap;

import com.google.api.client.http.GenericUrl;

public abstract class AbstractAuthentication implements AuthenticationHandler {
	
	protected GenericUrl pack(GenericUrl url, List<OptionsMap> parameters) {
		if (parameters != null) {
			for (OptionsMap options : parameters) {
				url.putAll(options.toMap());
			}
		}
		return url;
	}
}
